home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Alles Voor Internet / Tout Pour Internet
/
alles voor internet.iso
/
MacInternet™
/
Telnet
/
Comet.3.0.7 Folder
/
ibm-host-software
/
DOWNLOAD.HELPCMS
< prev
next >
Wrap
Text File
|
1988-06-28
|
3KB
|
61 lines
.cs 1 on
DOWNLOAD
The DOWNLOAD command transfers CMS files to your IBM PC or Macintosh.
(Cornell EXEC)
.cs 1 off
.cs 2 on
The format of the DOWNLOAD command is:
+----------+------------------------------------------------------------------+
| DOWNLOAD | fn ft <fm <<">target_file<">>> <(options<)>> |
| | |
| | options: |
| | |
| | <REPlace> <BINary> |
+----------+------------------------------------------------------------------+
.cs 2 off
.cs 3 on
where:
fn ft fm specifies the file name of the CMS file to download. The default for
fm is A and is required if you want to specify a target file.
target_file
is the name for the file on the micro. If you don't specify
one it defaults to the concatenation of fn and ft (e.g., fn.ft).
If the name contains spaces, you should enclose it in quotation
marks. Slashes ('/') are translated by the microcomputer;
on the PC, they are changed to back-slashes('\'), while on the
Macintosh they are changed to colons (':').
REPLACE specifies that an incoming file from CMS will overwrite any file with
that name that already exists on the micro. If you do not specify
REPLACE, DOWNLOAD will stop with an error message without
overwriting the file if a file with the same name already exists.
BINARY causes the file to be downloaded as a binary file. By default
the program will perform EBCDIC/ASCII translation, strip
trailing blanks off fixed length records, and insert linefeeds
in the local file at the end of each line from the CMS file.
.cs 3 off
.cs 5 on
Usage Notes:
1. The UPLOAD EXEC part of the FT3270 and FTC19 file transfer programs
translates ASCII backslashes to EBCDIC cents signs (hexidecimal code 4A)
when sending a file from a micro to the mainframe, and DOWNLOAD translates
EBCDIC backslashes similarly when transferring a file from the
mainframe to a micro. If you use UPLOAD EXEC to upload C programs from a
micro you will have to change all 4A codes to E0 codes in these C programs
before running them with a C compiler on the mainframe, and change E0 codes
to 4A codes before downloading C programs from the mainframe to a micro
using DOWNLOAD EXEC.
Examples:
.cs 5 off